﻿<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title>

    </title>
    <script type="text/javascript">
        var myCom = new ActiveXObject("ImageUtil.Base64ImageUtil")
        var reuslt = myCom.GetBase64ImageData('F:\\测试图片.jpg');
        alert(reuslt);
    </script>
</head>
<body>
</body>
</html>